﻿<Window x:Class="CECB.Project.UpdateProj_EIADetails"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="UpdateProj_EIADetails"   xmlns:toolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input.Toolkit"
           Height="736" Width="871" AllowsTransparency="True" WindowStyle="None" Background="{x:Null}" WindowStartupLocation="CenterScreen" Loaded="Window_Loaded">
    <Grid Height="790" Width="823" Margin="0,50,0,0">
        <Grid.RowDefinitions>
            <RowDefinition Height="221*" />
            <RowDefinition Height="569*" />
        </Grid.RowDefinitions>
        <Rectangle Margin="0,0,0,107" Stroke="White" RadiusY="19.5" RadiusX="19.5" StrokeThickness="3" Grid.RowSpan="2">
            <Rectangle.Effect>
                <DropShadowEffect Direction="330" BlurRadius="24" ShadowDepth="13" />
            </Rectangle.Effect>
            <Rectangle.Fill>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="Black" Offset="0" />
                    <GradientStop Color="#FFA3A1A1" Offset="0.494" />
                    <GradientStop Color="#FF272121" Offset="0" />
                    <GradientStop Color="#FF272121" Offset="1" />
                </LinearGradientBrush>
            </Rectangle.Fill>
        </Rectangle>
        <Label Content="Update Project EIA Details" Height="auto" HorizontalAlignment="Center" Margin="23,25,435,159"  VerticalAlignment="Center" Width="356" FontSize="20" FontStretch="Normal" FontStyle="Normal" FontWeight="Black" Foreground="#FFEFEFEF" Canvas.Left="35" Canvas.Top="-10"></Label>
        <WrapPanel Grid.Row="1" Height="210" HorizontalAlignment="Left" Margin="19,242,0,0" Name="wrapPanel8" VerticalAlignment="Top" Width="398">
            <Label Content="Duration" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="Red" Height="28" Name="label_Dates" />
        </WrapPanel>
        <StackPanel Width="384" Background="DimGray" OpacityMask="{x:Null}" Canvas.Left="-85" Canvas.Top="10" Margin="19,63,415,342" Grid.RowSpan="2">
            <WrapPanel VerticalAlignment="Top"  Background="#FF3E3832" Orientation="Horizontal" Margin="0,5,0,0">
                <Label Content="Project Refernce" Height="28" Width="121" Name="labelProjRef" HorizontalAlignment="Left" Margin="25,0,0,0" VerticalAlignment="Top" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
                <Label BorderBrush="White" BorderThickness="0" Content="Project Refernce" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="28" Name="label_ProjRef" Width="121" />
            </WrapPanel>
            <WrapPanel VerticalAlignment="Top" Orientation="Horizontal" Margin="0,5,0,0" />
            <WrapPanel VerticalAlignment="Top"  Background="#FF3E3832" Orientation="Horizontal" Margin="0,5,0,0" Height="36">
                <Label Content="Project Name" Height="28" Width="94" Name="label_projname" HorizontalAlignment="Left" Margin="25,0,0,0" VerticalAlignment="Top" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
                <toolkit:AutoCompleteBox Name="ProjectAutocompleteTextBox" SelectionChanged="ReferenceTextBox_SelectionChanged" Width="232.5" Margin="30,0,0,0" Height="30"  ValueMemberPath="proj_name"  FilterMode="Contains"  ItemsSource="{Binding}"  TabIndex="1" IsTabStop="True"   FontSize="18" Background="White" Opacity="1" HorizontalAlignment="Center" UseLayoutRounding="False" BorderBrush="#FFF8F8F8" BorderThickness="2">
                    <toolkit:AutoCompleteBox.ItemTemplate>
                        <DataTemplate>
                            <StackPanel Orientation="Horizontal">
                                <TextBlock Text="{Binding Path=proj_name}"/>
                                <TextBlock Text=" - "/>
                                <TextBlock Text="{Binding Path=proj_reference}"/>

                            </StackPanel>
                        </DataTemplate>
                    </toolkit:AutoCompleteBox.ItemTemplate>
                </toolkit:AutoCompleteBox>

                <WrapPanel Height="38" Name="wrapPanel7" Width="146" />
            </WrapPanel>
            <WrapPanel VerticalAlignment="Top" Orientation="Horizontal" Margin="0,5,0,0" />
            <WrapPanel VerticalAlignment="Top" Orientation="Horizontal" Margin="0,5,0,0" />
            <WrapPanel VerticalAlignment="Top" Orientation="Horizontal" Margin="0,5,0,0" />
            <WrapPanel VerticalAlignment="Top" Orientation="Horizontal" Margin="0,5,0,0" />
            <WrapPanel VerticalAlignment="Top" Orientation="Horizontal" Margin="0,5,0,0" />
            <WrapPanel VerticalAlignment="Top" Orientation="Horizontal" Margin="0,5,0,0" />
            <WrapPanel VerticalAlignment="Top" Orientation="Horizontal" Margin="0,5,0,0" />
        </StackPanel>
        <WrapPanel Height="244" HorizontalAlignment="Left" Margin="415,0,0,117" Name="wrapPanel10" VerticalAlignment="Bottom" Width="346" Grid.Row="1"></WrapPanel>
        <WrapPanel Canvas.Left="432" Canvas.Top="582" Name="wrapPanel4" Margin="416,404,54,117" Grid.Row="1">
            <Button Content="Update" Height="42" Name="button_Update" Width="75" Click="button_Update_Click" />
            <WrapPanel Height="45" Name="wrapPanel11" Width="48" />
            <Button Content="Delete" Height="42" Name="button_Delete" Width="75" />
            <WrapPanel Height="45" Name="wrapPanel13" Width="25" />
            <Button Content="Close" Height="40" Name="button_Close" Width="75" Click="button_Close_Click" />
        </WrapPanel>
        <StackPanel Height="355" HorizontalAlignment="Left" Margin="414,68,0,0" Name="stackPanel2" VerticalAlignment="Top" Width="347" Grid.RowSpan="2">
            <WrapPanel Height="35" Name="wrapPanel5" Width="348">
                <Label BorderBrush="White" BorderThickness="0" Content="Plan Image" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="28" Name="label17" Width="138" />
                <Label BorderBrush="White" BorderThickness="0" Content="Image Imfomation" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="28" Name="label_PlanInfo" Width="138" />
            </WrapPanel>
            <Image Height="118" Name="image1" Stretch="Fill" Width="317" />
            <WrapPanel Name="wrapPanel15">
                <Label BorderBrush="White" BorderThickness="0" Content="Model Image" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="28" Name="label10" Width="138" />
                <Label BorderBrush="White" BorderThickness="0" Content="Image Imfomation" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="28" Name="label_ModelInfo" Width="138" />
            </WrapPanel>
            <Image Height="166" Name="image_Model" Stretch="Fill" Width="349" />

            <WrapPanel Name="wrapPanel12" />
        </StackPanel>
        <WrapPanel Name="wrapPanel14" Margin="420,103,61,0">
            <Image Height="118" Name="image_Plan" Stretch="Fill" Width="333" />
            <StackPanel Height="100" Name="stackPanel3" Width="200" />
        </WrapPanel>
        <WrapPanel Name="wrapPanel16" Orientation="Horizontal" Background="#FF3E3832" Margin="21,213,414,549" Grid.RowSpan="2">
            <Label BorderBrush="White" BorderThickness="0" Content="Location" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="28" HorizontalAlignment="Left" Margin="25,0,0,0" Name="label11" VerticalAlignment="Top" Width="121" />
            <TextBox Name="textBox_Location" TextWrapping="Wrap" VerticalAlignment="Top" Height="28" FontSize="16" Background="#FFFFECA1" SelectionBrush="#FF6E6E6E" Foreground="#FF332F2F" HorizontalAlignment="Right" Width="228" IsReadOnly="True" />
        </WrapPanel>
        <WrapPanel Name="wrapPanel_SimpleCritria" Canvas.Left="37" Background="#FF3E3832" Canvas.Top="486" Height="29" Orientation="Horizontal" Margin="21,376,418,165" Grid.Row="1">
            <Label BorderBrush="White" BorderThickness="0" Content="Matrix Criteria " FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="28" HorizontalAlignment="Left" Margin="25,0,0,0" Name="label3" VerticalAlignment="Top" Width="135" />
            <WrapPanel Margin="0,5,0,0" Orientation="Horizontal" VerticalAlignment="Top" />
            <ComboBox Height="23" Name="comboBox_simplCriteria" FontSize="14" FontStyle="Italic" FontWeight="Medium" Width="175">
                <ComboBoxItem Content="1-3" />
                <ComboBoxItem Content="1-5" />
                <ComboBoxItem Content="1-9" />
            </ComboBox>
        </WrapPanel>
        <WrapPanel Name="wrapPanel_Importnce" Height="35" Background="#FF3E3832" Orientation="Horizontal" Canvas.Left="37" Canvas.Top="442" Margin="22,411,418,123" Grid.Row="1">
            <Label BorderBrush="White" BorderThickness="0" Content="Importece Criteria" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="28" HorizontalAlignment="Left" Margin="25,0,0,0" Name="label4" VerticalAlignment="Top" Width="135" />
            <WrapPanel Margin="0,5,0,0" Orientation="Horizontal" VerticalAlignment="Top" />
            <ComboBox Height="23" Name="comboBox_impotncCriteria" FontSize="14" FontStyle="Italic" FontWeight="Medium" Width="175">
                <ComboBoxItem Content="1-3" />
                <ComboBoxItem Content="1-5" />
                <ComboBoxItem Content="1-9" />
            </ComboBox>
            <Label Content="*" FontSize="20" Foreground="Red" Height="20" Padding="2,0,2,0" />
        </WrapPanel>
        <WrapPanel  Name="wrapPanel_Magnitude" Height="29" Background="#FF3E3832" Orientation="Horizontal" Canvas.Left="37" Canvas.Top="537" Margin="22,377,418,163" Grid.Row="1">
            <Label BorderBrush="White" BorderThickness="0" Content="Magnitude Criteria" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="28" HorizontalAlignment="Left" Margin="25,0,0,0" Name="label5" VerticalAlignment="Top" Width="137" />
            <WrapPanel Margin="0,5,0,0" Orientation="Horizontal" VerticalAlignment="Top" />
            <ComboBox Height="23" Name="comboBox_magnitudeCriteria" FontSize="14" FontStyle="Italic" FontWeight="Medium" Width="173">
                <ComboBoxItem Content="1-3" />
                <ComboBoxItem Content="1-5" />
                <ComboBoxItem Content="1-9" />
            </ComboBox>
            <Label Content="*" FontSize="20" Foreground="Red" Height="20" Padding="2,0,2,0" />
        </WrapPanel>
        <WrapPanel Height="29" Background="#FF3E3832" Orientation="Horizontal" Canvas.Left="37" Canvas.Top="486" Margin="21,338,418,202" Grid.Row="1">
            <Label BorderBrush="White" BorderThickness="0" Content="Matrix " FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="28" HorizontalAlignment="Left" Margin="25,0,0,0" Name="label6" VerticalAlignment="Top" Width="135" />
            <Label Content="Label" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="28" Name="label_Matrix" Width="170" />
        </WrapPanel>
        <WrapPanel Height="29" Background="#FF3E3832" Orientation="Horizontal" Canvas.Left="35" Canvas.Top="564" Margin="22,303,417,237" Grid.Row="1">
            <Label BorderBrush="White" BorderThickness="0" Content="To Date" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="28" HorizontalAlignment="Left" Margin="25,0,0,0" Name="label7" VerticalAlignment="Top" Width="139" />
            <DatePicker Height="25" Name="datePicker_ToDate" Width="202" SelectedDateFormat="Long" SelectedDateChanged="datePicker_ToDate_SelectedDateChanged" />
            <Label Content="*" FontSize="20" Foreground="Red" Height="20" Padding="2,0,2,0" />
        </WrapPanel>
        <WrapPanel Canvas.Left="37" Background="#FF3E3832" Canvas.Top="512" Height="27" Name="wrapPanel9" Margin="23,270,415,272" Grid.Row="1">
            <Label Content="From Date" Height="28" Name="label14" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" HorizontalAlignment="Left" Margin="25,0,0,0" VerticalAlignment="Top" Width="137" />
            <DatePicker Height="25" Name="datePicker_FromDate" Width="202" SelectedDateFormat="Long" />
            <Label Content="*" FontSize="20" Foreground="Red" Height="20" Padding="2,0,2,0" />
        </WrapPanel>
        <WrapPanel Orientation="Horizontal" Canvas.Left="436" Background="#FF3E3832" Canvas.Top="242" Margin="417,271,56,168" Grid.Row="1">
            <Label BorderBrush="White" BorderThickness="0" Content="Comment" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="44" Name="label18" Width="75" />
            <TextBlock Height="46" Name="textBlock1" Text="TextBlock" Width="260" />
        </WrapPanel>
        <WrapPanel VerticalAlignment="Top" Background="#FF3E3832" Name="wrapPanelUserLogin" Margin="23,172,416,0" Orientation="Horizontal" Width="384" Height="29">
            <Label Content="Project Type" Width="117" Height="28" Name="label_projtype" HorizontalAlignment="Left" Margin="25,0,0,0" VerticalAlignment="Top" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
            <TextBox Background="#FFFFECA1" FontSize="16" Foreground="#FF332F2F" Height="28" IsReadOnly="True" Name="textBox_ProjType" SelectionBrush="#FF6E6E6E" TextWrapping="Wrap" Width="228" />
        </WrapPanel>
        <Expander Canvas.Left="38" Canvas.Top="367" FontSize="16" FontStyle="Italic" FontWeight="Medium" Foreground="White" Header="More Location Details" Height="209" IsEnabled="True" IsExpanded="True" Name="expander_locationDetails" Margin="18,26,421,334" Grid.Row="1">
            <Grid Height="234" Width="426">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="0*" />
                    <ColumnDefinition Width="343*" />
                    <ColumnDefinition Width="70*" />
                </Grid.ColumnDefinitions>
                <StackPanel Grid.Column="1" Grid.ColumnSpan="2" Margin="3,-34,-4,6" Name="stackPanel1">
                    <WrapPanel Height="28" Margin="0,5,0,0" Orientation="Horizontal" VerticalAlignment="Top" Width="398">
                        <WrapPanel Height="18" Name="wrapPanel2" Width="118" />
                    </WrapPanel>
                </StackPanel>
                <WrapPanel Grid.Column="1" Grid.ColumnSpan="2" Margin="16,39,12,6" Orientation="Horizontal" Width="399">
                    <ListView Canvas.Left="12" Canvas.Top="68" Height="138" Name="listView1" Width="366">
                        <ListView.View>
                            <GridView>
                                <GridViewColumn DisplayMemberBinding="{Binding Loc_longitude}" Header="Longitude" Width="150" />
                                <GridViewColumn DisplayMemberBinding="{Binding Loc_latitude}" Header="Latitude" Width="150" />
                            </GridView>
                        </ListView.View>
                    </ListView>
                </WrapPanel>
            </Grid>
        </Expander>
    </Grid>
</Window>